package com.cy.zs.hp.feign.service.impl;


import com.cy.zs.hp.feign.service.IHisDoctorFeignService;
import com.cy.zs.hp.model.HisDoctor;
import com.cy.zs.hp.model.SchedulingTable;
import com.cy.zs.web.util.JsonResult;
import org.springframework.stereotype.Component;

import java.util.List;

@Component
public class DoctorServiceFB implements IHisDoctorFeignService {


    @Override
    public JsonResult<HisDoctor> findByDoctorId(Integer doctorId) {
        return JsonResult.err("无法获取商品订单");
    }

    @Override
    public JsonResult setdoctor(Integer doctorId, String appointmentTime) {
        return JsonResult.err("挂号失败");
    }

    @Override
    public JsonResult<List<SchedulingTable>> findSchedulingTableByDoctorId(Integer doctorId) {
        return JsonResult.err("查询医生工作表失败！");
    }

    @Override
    public JsonResult<List<HisDoctor>> findDepartment() {
        return JsonResult.err("查询所有部门失败！");
    }

    @Override
    public JsonResult<List<HisDoctor>> findByDepartment(String department) {
        return JsonResult.err("查询部门医生失败！");
    }

    @Override
    public JsonResult<List<SchedulingTable>> findTimesByDoctorId(Integer id) {
        return JsonResult.err("查询查询医生工作表失败！");
    }


}
